#ifndef _STDTHREADPOOL_H_
#define _STDTHREADPOOL_H_ 

struct StdThreadPool;
typedef struct StdThreadPool ThreadP;

ThreadP * ThreadPoolInit(int MacThrdNum,int MinThrdNum,int MaxQueueSize,int SleepTime);
void ThreadPoolAddTask(ThreadP *p,void*(*func)(void*),void * arg);
void ClearThreadPool(ThreadP* p);
#endif